package cn.b.sky.mes.andon.model;

import java.util.Date;

import cn.b.sky.common.model.ImeCommon;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 
 * <strong>Title : AndonRun.java<br></strong>
 * <strong>Package : cn.b.sky.mes.andon.model<br></strong>
 * <strong>Description : </strong>暗灯运转记录实体<br> 
 * <strong>Create on : 2016-10-17 下午1:25:08<br></strong>
 * <p>
 * @author JinQuan.Fu<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人|修改日期|修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class AndonRun extends ImeCommon {

  /**
   *  ID
   */
  private long id;

  /**
   * 作业单元编号
   */
  private String workUnitCode;

  /**
   * 工作中心编号
   */
  private String workCenterCode;

  /**
   * 作业单元描述
   */
  private String workUnitText;

  /**
   * 按灯编号
   */
  private String andonCode;

  /**
   * 按灯描述
   */
  private String andonText;

  /**
   * 安灯类型编号
   */
  private String andonTypeCode;

  /**
   * 安灯类型描述
   */
  private String typeText;

  /**
   * 当前状态编号
   */
  private String statusECode;

  /**
   * 启动人
   */
  private String switchOnUser;

  /**
   * 启动时间
   */
  @JSONField(serialize=false)  
  private Date switchOnDateTime;

  /**
   * 关闭人
   */
  private String switchOffUser;

  /**
   * 关闭时间
   */
  @JSONField(serialize=false)  
  private Date switchOffDateTime;

  /**
   * 响应人
   */
  private String respondUser;

  /**
   * 响应时间
   */
  @JSONField(serialize=false)  
  private Date respondDateTime;

  /**
   * 按灯模板编号
   */
  private String templateCode;

  /**
   * 优先级
   */
  private Integer priority;

  public String getAndonTypeCode() {
    return andonTypeCode;
  }

  public void setAndonTypeCode(String andonTypeCode) {
    this.andonTypeCode = andonTypeCode;
  }

  public String getTypeText() {
    return typeText;
  }

  public void setTypeText(String typeText) {
    this.typeText = typeText;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getWorkUnitCode() {
    return workUnitCode;
  }

  public void setWorkUnitCode(String workUnitCode) {
    this.workUnitCode = workUnitCode;
  }

  public String getWorkUnitText() {
    return workUnitText;
  }

  public void setWorkUnitText(String workUnitText) {
    this.workUnitText = workUnitText;
  }

  public String getAndonCode() {
    return andonCode;
  }

  public void setAndonCode(String andonCode) {
    this.andonCode = andonCode;
  }

  public String getAndonText() {
    return andonText;
  }

  public void setAndonText(String andonText) {
    this.andonText = andonText;
  }

  public String getStatusECode() {
    return statusECode;
  }

  public void setStatusECode(String statusECode) {
    this.statusECode = statusECode;
  }

  public String getSwitchOnUser() {
    return switchOnUser;
  }

  public void setSwitchOnUser(String switchOnUser) {
    this.switchOnUser = switchOnUser;
  }

  public Date getSwitchOnDateTime() {
    return switchOnDateTime;
  }

  public void setSwitchOnDateTime(Date switchOnDateTime) {
    this.switchOnDateTime = switchOnDateTime;
  }

  public String getSwitchOffUser() {
    return switchOffUser;
  }

  public void setSwitchOffUser(String switchOffUser) {
    this.switchOffUser = switchOffUser;
  }

  public Date getSwitchOffDateTime() {
    return switchOffDateTime;
  }

  public void setSwitchOffDateTime(Date switchOffDateTime) {
    this.switchOffDateTime = switchOffDateTime;
  }

  public String getRespondUser() {
    return respondUser;
  }

  public void setRespondUser(String respondUser) {
    this.respondUser = respondUser;
  }

  public Date getRespondDateTime() {
    return respondDateTime;
  }

  public void setRespondDateTime(Date respondDateTime) {
    this.respondDateTime = respondDateTime;
  }

  public String getTemplateCode() {
    return templateCode;
  }

  public void setTemplateCode(String templateCode) {
    this.templateCode = templateCode;
  }

  public Integer getPriority() {
    return priority;
  }

  public void setPriority(Integer priority) {
    this.priority = priority;
  }

  public String getWorkCenterCode() {
    return workCenterCode;
  }

  public void setWorkCenterCode(String workCenterCode) {
    this.workCenterCode = workCenterCode;
  }

}
